<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
    <title>西京文交所管理端</title>
    <link rel="stylesheet" href="../../static/iconfont/iconfont.css" >
    <link rel="stylesheet" href="../../static/frameset.css" >
</head>
<body>

    <div id="J_wrap" class="m_wrap m_box_v p_index none">
        <div class="m_top">
            <headers v-on:callback="headerHandle" :userobj.sync="userobj"></headers>
        </div>
        <div class="m_content m_flex1 m_box">
            <menunav index="collection" sub="business" :navobj.sync="userobj.group_acl"></menunav>
            <div class="container m_flex1">
                <ul class="breadcrumbs">
                    <li><span>藏品管理</span>&gt;</li>
                    <li class="on">上票方管理</li>
                </ul>
                <div class="m_toolbar">
                    <a class="m_btn" href="add_business.html">+ 添加上票方</a>
                </div>
                <table class="m_table">
                    <thead>
                        <tr>
                            <th>上票方名称</th>
                            <th>联系人</th>
                            <th>手机号</th>
                            <th>身份证号码</th>
                            <th>添加人</th>
                            <th>添加时间</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr v-if="list.length < 1">
                            <td colspan="7">
                                <div class="tc">暂无数据</div>
                            </td>
                        </tr>
                        <tr v-for="item in list" v-if="list.length > 0">
                            <td>{{ item.name }}</td>
                            <td>{{ item.contact_user }}</td>
                            <td>{{ item.phone }}</td>
                            <td>{{ item.id_no }}</td>
                            <td>{{ item.user_name }}</td>
                            <td>{{ item.created_at }}</td>
                            <td>
                                <a href="add_business.html?id={{item.id}}">修改</a>
                                <a href="javascript:void(0);" v-on:click="remove(item.id)">删除</a>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <pages :cur.sync="cur" :all.sync="all" v-on:btn-click="getData"></pages>
            </div>
        </div>
    </div>


    <script src="../../js/plugins/zepto/zepto.min.js"></script>
    <script src="../../js/plugins/vue/vue.min.js"></script>
    <script src="../../js/plugins/seajs/sea.js"></script>
    <script src="../../js/plugins/seajs/seajs-text.js"></script>

    <script>
        seajs.use( "../../js/page/collection/business" );
    </script>

</body>
</html>
